<?php
	if($_SERVER['REQUEST_METHOD'] !== 'POST' || !isset($_POST['callback']) || empty($_POST['callback'])){
		header('HTTP/1.0 404 Not Found');
		exit;
	}
	
	header('Content-Type:text/html; charset=utf-8');
	
	echo sprintf('<script type="text/javascript">;%s(%s);</script>', $_POST['callback'], json_encode(array('status'=>0, 'fileInfo'=>$_FILES)));
	
	
	
	